-
Home
-
YayPricing – WooCommerce Dynamic Pricing & Discounts
-
3.5.1 (latest)
-
Code
-
Classes
- YAYDP_Cart_Item
Total Complexity |
54 |
Dependencies |
4 |
Dependents |
14 |
Total lines |
390 |
Lines of code |
200 |
Logical lines of code |
106 |
Comment lines |
129 |
Methods |
26 |
Properties |
14 |
Methods 26
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
__construct() |
A |
46 |
10 |
36 |
get_prices_based_on_quantity() |
A |
49 |
10 |
29 |
get_modified_price_html_for_normal_item() |
A |
45 |
8 |
41 |
get_available_tooltips() |
S |
62 |
3 |
12 |
get_modified_price_html_for_extra_item() |
S |
59 |
1 |
16 |
get_modified_price_html() |
S |
72 |
2 |
6 |
is_sale_product() |
S |
81 |
1 |
3 |
get_quantity() |
S |
80 |
1 |
3 |
get_sale_price() |
S |
82 |
1 |
3 |
get_regular_price() |
S |
82 |
1 |
3 |
get_variation() |
S |
82 |
1 |
3 |
get_initial_price() |
S |
82 |
1 |
3 |
get_bulk_quantity() |
S |
82 |
1 |
3 |
set_bulk_quantity() |
S |
81 |
1 |
3 |
clear_modifiers() |
S |
81 |
1 |
3 |
set_quantity() |
S |
80 |
1 |
3 |
get_product() |
S |
82 |
1 |
3 |
get_price() |
S |
80 |
1 |
3 |
set_price() |
S |
80 |
1 |
3 |
get_key() |
S |
82 |
1 |
3 |
can_modify() |
S |
80 |
1 |
3 |
get_modifiers() |
S |
82 |
1 |
3 |
add_modifier() |
S |
77 |
1 |
3 |
get_extra_data() |
S |
82 |
1 |
3 |
is_extra() |
S |
82 |
1 |
3 |
get_store_price() |
S |
82 |
1 |
3 |